package com.dp.pojo;

import java.io.Serializable;
import java.sql.Blob;
import java.util.Date;

import org.apache.struts2.json.annotations.JSON;

public class OccupancyVo implements Serializable{
	private Integer id;
	private Integer cid;
	private String sn;
	private String roomnumber;
	private Integer checkinnumber;
	private Date checkin_time;
	private Date plancheckin_time;
	private Date actualcheckin_time;
	private Integer checkout;
	
    private String cnumber;
    private Integer ctype;
    private String cname;
    private String csex;
    private String nation;
    private String birth_date;
    private String cadress;
    private Blob cphoto;
    private String issuing_authority;
    private String valid_period;
    private String note;
    
    private String spname;
    private String spaddress;
    
	public OccupancyVo(){
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getRoomnumber() {
		return roomnumber;
	}

	public void setRoomnumber(String roomnumber) {
		this.roomnumber = roomnumber;
	}
	
	public Integer getCheckinnumber() {
		return checkinnumber;
	}

	public void setCheckinnumber(Integer checkinnumber) {
		this.checkinnumber = checkinnumber;
	}

	@JSON(format="yyyy-MM-dd HH:mm:ss")
	public Date getCheckin_time() {
		return checkin_time;
	}

	public void setCheckin_time(Date checkin_time) {
		this.checkin_time = checkin_time;
	}
	
	@JSON(format="yyyy-MM-dd HH:mm:ss")
	public Date getPlancheckin_time() {
		return plancheckin_time;
	}

	public void setPlancheckin_time(Date plancheckin_time) {
		this.plancheckin_time = plancheckin_time;
	}
	
	@JSON(format="yyyy-MM-dd HH:mm:ss")
	public Date getActualcheckin_time() {
		return actualcheckin_time;
	}

	public void setActualcheckin_time(Date actualcheckin_time) {
		this.actualcheckin_time = actualcheckin_time;
	}

	public Integer getCheckout() {
		return checkout;
	}

	public void setCheckout(Integer checkout) {
		this.checkout = checkout;
	}

	public String getCnumber() {
		return cnumber;
	}

	public void setCnumber(String cnumber) {
		this.cnumber = cnumber;
	}

	public Integer getCtype() {
		return ctype;
	}

	public void setCtype(Integer ctype) {
		this.ctype = ctype;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCsex() {
		return csex;
	}

	public void setCsex(String csex) {
		this.csex = csex;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getBirth_date() {
		return birth_date;
	}

	public void setBirth_date(String birth_date) {
		this.birth_date = birth_date;
	}

	public String getCadress() {
		return cadress;
	}

	public void setCadress(String cadress) {
		this.cadress = cadress;
	}

	public Blob getCphoto() {
		return cphoto;
	}

	public void setCphoto(Blob cphoto) {
		this.cphoto = cphoto;
	}
	
	public String getIssuing_authority() {
		return issuing_authority;
	}

	public void setIssuing_authority(String issuing_authority) {
		this.issuing_authority = issuing_authority;
	}

	public String getValid_period() {
		return valid_period;
	}

	public void setValid_period(String valid_period) {
		this.valid_period = valid_period;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getSpname() {
		return spname;
	}

	public void setSpname(String spname) {
		this.spname = spname;
	}

	public String getSpaddress() {
		return spaddress;
	}

	public void setSpaddress(String spaddress) {
		this.spaddress = spaddress;
	}
	
}

